package com.lei.order.client;

import com.lei.utils.vo.CourseWebVoOrder;
import org.springframework.beans.BeanUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by IntelliJ
 * Author:熊磊
 */
@Component
@FeignClient("service-edu")
public interface EduClient {
    //根据Id获取课程信息 Order
    @GetMapping("/edu/course/f/getCourseById/{courseId}")
    public CourseWebVoOrder getCourseInfoOrder(@PathVariable("courseId") String courseId);
}
